package com.chidopi.member;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import com.chidopi.member.actions.MemberAction;


@Component("memberAppConfig")
public class AppConfig {
	private static Logger logger = LoggerFactory.getLogger(AppConfig.class);
	
	@Bean(name={"/molife",	"/molifeAjaxMember2CityQuery",	"/molifeAjaxMember2CitySave",		// 行遍天下
				"/rainbow",	"/rainbowAjaxMember2CityQuery",	"/rainbowAjaxMember2CitySave",		// 彩虹
				})
	public MemberAction memberAction() {
		logger.debug("call login of brandAction");
		return new MemberAction();
	}
}
